Repository navigation
Conversation
Co-authored-by: Dan Smolsky <dannysmo@gmail.com>
…alyco#65621) Co-authored-by: Miroshnikov Vladislav <55508043+vladislav-miroshnikov@users.noreply.github.com>
…ch in local builds (anomalyco#65725)
…#65740) Co-authored-by: Hona <luke@anoma.ly>
Co-authored-by: Jack <jack@anoma.ly>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Merge anomalyco/opencode dev at d284e7c, which contains the v2.4.0 release commit d6379ff (patch-identical to the lightweight v2.4.0 tag commit 44aed4f) plus anomalyco#65757.
- Register upstream's session search/read/interrupt tools under shuvcode.session. - Move fork identity tests to upstream's automation namespace and trimmed unattended denylist; drop the removed automations/mcp_events flags. - Read --server/--standalone through ServerFlags in the new machine command and its tests, and expect the shuvcode binary name in new CLI help tests.
Upstream v2.4.0's machine-link tests send the public RFC 6455 sample nonce as Sec-WebSocket-Key, which gitleaks' generic-api-key rule matches.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Merge upstream OpenCode
devatd284e7ce17intointegration-v2and prepare2.4.0-shuv.1. That is 183 commits past #509, including the v2.4.0 release. Full audit:docs/sync-2026-11-23-v2.4.0.md.integration-v2(#510)dcbd2e8d613be915553a8ebec4299acea561a857a96327d3e84d795cca231dc30b534193bbc0f47bdev(second parent of354e4a0128)d284e7ce17d0a98c80d0bebd5cc6dce2dbdd5f74v2.4.0tag (lightweight; audit reference)44aed4fd144611879046ae923c25541f913780adv2.4.0release commit ondev(included)d6379ff0e1c1c09e927e63c28c58a1f2a0533462devat final re-pin (not taken)7cfd86844337705d8753b989570ed9bacb93bc92(anomalyco#65758)Tag audit
44aed4fd14is not ondev.d6379ff0e1(release: v2.4.0 (#65753)) has the samepatch-id, so the tag adds nothing thatdevdoesn't already have.v2.4.0and this head is one of two kinds:devcommits:1906056539,7edab789f7,26f4041911,d284e7ce172.4.0.Conflicts (51 paths, see
git show --remerge-diff 354e4a0128)package.jsonfiles take upstream2.4.0. TheshuvcodeCLI keeps its name and bin.bun.locktakes upstream versions and keeps theshuvcodeworkspace entry. It also gains the new@opencode/cli-rsworkspace line.--server/--standalonestay the fork's globalServerFlags/connectionFlags. Upstream's per-commandServerParamsare dropped from the newmachinecommand and the hiddenloginalias.spec.tscombines hidden aliases withconnectionFlags.default.tstakes upstream's directory-or-help check, with the server still read fromServerFlags.auth loginand in the TUI integration and free-model dialogs, next to upstream's Go and speed filters.tool.tskeeps the fork'sexecuteCall/ToolActivitysplit, with upstream's top-level Code Mode routing moved inside it.config.tskeeps the fork's positioned diagnostics and logs upstream's newremovedkind as a warning.automationnamespace (feat(automation): give automation tools their own namespace anomalyco/opencode#65001) and its trimmed unattended denylist (refactor(automation): trim shell action checks and the unattended denylist anomalyco/opencode#65217), withshuvcode.session.movestill blocked. Tests and the/automationprompt follow.permissions.mdxkeeps thejev_systemOnerow and takes upstream'sgenerate_imagerename.Follow-ups
fix(core):shuvcode.session.machinecommand and its tests useServerFlags.shuvcode.automationnamespace, the trimmed denylist and the removedautomations/mcp_eventsexperimental flags.chore(hygiene):.gitleaks.tomlallowlists the RFC 6455 sampleSec-WebSocket-Keynonce used by upstream machine-link tests.chore(release):shuvcode2.4.0-shuv.1, with release notes.Behavior changes for review
tools.shuvcode.automation_*/shuvcode_automation_*becometools.automation.*/automation_*.shell,session.renameand the worktree tools after the creation-timeunattendedpermission prompts. This follows upstream. Restoring the fork's stricter list would break upstream's automation capability test and is a policy call.automationskey.Fork preservation
These are unchanged in
dcbd2e8..HEAD:Global.app, the ports, the npm-only updater,publish.ts,version.tsand the CLI binclaudeAgenti18n keys) and the Claude Agent provider filter.githubUpstream's Claude websearch provider registers only from the unloaded Claude Agent plugin.
packages/cli-rs(upstream's native CLI) is upstream-owned and outside fork build and publish.Validation (local, final tree)
bun install --frozen-lockfilebun run checkmigration --check/ clientgeneratebun run build --single(linux-x64) pass--versionand help showshuvcode(loginhidden);machinehonours--server;pair --serveris rejected; a bad directory shows help; data goes undershuvcode/dir --redactgitondcbd2e8..HEADopencode:secrettest password inpackages/cli-rstests. CI'sdirmode doesn't flag it.opencodenamespace and binary names, hidden-provider surfaces and version strings. All findings are fixed in the follow-ups.Not proven locally:
e2e).cli-rscargo tests.Expected CI failure: fleet hygiene PII and shellcheck will flag upstream
packages/cli-rsfixtures and scripts. The six-line.github/hygiene-allowlist.txtfix is in the sync doc. It is not applied because.githubis frozen under the CI-gates hold.